package io.seata.samples.tcc.springboot.dubbo.service;

import io.seata.samples.tcc.springboot.dubbo.model.User;

import java.util.List;

public interface UserService {

    User save(User user);

    boolean delete(Long id);

    User findById(Long id);

    List<User> list();

}
